# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(IntrariObiecteInventar)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Intrari_SRCS intrariplugin.cpp intrari.cpp)
QT4_WRAP_CPP(Intrari_SRCS intrariplugin.h intrari.h)
QT4_WRAP_UI(Intrari_SRCS intrari.ui)
QT4_ADD_RESOURCES(Intrari_SRCS intrari.qrc)

add_library(IntrariObiecteInventar SHARED ${Intrari_SRCS})
add_dependencies(IntrariObiecteInventar KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(IntrariObiecteInventar KontAMabil ${QT_LIBRARIES})

install(TARGETS IntrariObiecteInventar ${INSTALL_PLUGINS_DEFAULT_ARGS})
